export default {
  search: {
    keyword: '关键词',
    keywordPlaceholder: '请输入用户名、姓名或邮箱',
    search: '查询',
    reset: '重置',
    advanced: '高级查询',
    add: '新建用户',
    delete: '删除用户'
  },
  advancedSearch: {
    title: '高级查询',
    username: '用户名',
    usernamePlaceholder: '请输入用户名',
    realName: '真实姓名',
    realNamePlaceholder: '请输入真实姓名',
    email: '邮箱',
    emailPlaceholder: '请输入邮箱',
    status: '状态',
    statusPlaceholder: '请选择状态',
    createTime: '创建时间',
    startTime: '开始时间',
    endTime: '结束时间'
  },
  columns: {
    id: 'ID',
    username: '用户名',
    realName: '真实姓名',
    email: '邮箱',
    status: '状态',
    createTime: '创建时间',
    operation: '操作'
  },
  status: {
    enabled: '启用',
    disabled: '禁用'
  },
  operation: {
    edit: '编辑',
    delete: '删除'
  },
  form: {
    username: '用户名',
    usernamePlaceholder: '请输入用户名',
    realName: '真实姓名',
    realNamePlaceholder: '请输入真实姓名',
    email: '邮箱',
    emailPlaceholder: '请输入邮箱',
    password: '密码',
    passwordPlaceholder: '请输入密码',
    status: '状态'
  },
  rules: {
    username: '请输入用户名',
    realName: '请输入真实姓名',
    email: '请输入邮箱',
    emailFormat: '邮箱格式不正确',
    password: '请输入密码'
  },
  dialog: {
    add: '新建用户',
    edit: '编辑用户'
  },
  message: {
    fetchFailed: '获取用户列表失败',
    createSuccess: '用户创建成功',
    createFailed: '用户创建失败',
    updateSuccess: '用户更新成功',
    updateFailed: '用户更新失败',
    deleteSuccess: '用户删除成功',
    deleteFailed: '用户删除失败',
    batchDeleteSuccess: '批量删除成功',
    batchDeleteFailed: '批量删除失败',
    deleteTitle: '确认删除',
    deleteConfirm: '确定要删除用户 {username} 吗？',
    batchDeleteConfirm: '确定要删除选中的 {count} 个用户吗？'
  }
};